revision:
The <li> tag defines a list item. The tag is used inside ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>).
In "ul" and "menu", the list items will usually be displayed with bullet points. In "ol", the list items will usually be displayed with numbers or letters.
value ; value: number; only for <ol> lists;
specifies the start value of a list item. The following list items will increment from that number.
<li> . . . </li>
The ol element defines an ordered list:
The ul element defines an unordered list:
Codes:
<p class="spec" style="margin-left: 3vw;">The ol element defines an ordered list:</p> <ol style="margin-left: 3vw;"> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> <p class="spec" style="margin-left: 3vw;">The ul element defines an unordered list:</p> <ul style="margin-left: 3vw;"> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul>
Codes:
<ol style="margin-left: 3vw;"> <li value="100">Coffee</li> <li>Tea</li> <li>Milk</li> <li>Water</li> <li>Juice</li> <li>Beer</li> </ol>